const mongoose = require("mongoose")
mongoose.connect("mongodb://root:password@43.138.68.252:27017/admin1",(err)=>{
    if(!err){
        console.log("数据库连接成功");
    }else{
        console.log("数据库连接失败")
    }
})

module.exports = mongoose